encoding/json.encodeState.error (method)
12 uses
encoding/json (current package)
encode.go#L303: func (e *encodeState) error(err error) {
encode.go#L449: e.error(&MarshalerError{v.Type(), err, "MarshalJSON"})
encode.go#L468: e.error(&MarshalerError{v.Type(), err, "MarshalJSON"})
encode.go#L484: e.error(&MarshalerError{v.Type(), err, "MarshalText"})
encode.go#L498: e.error(&MarshalerError{v.Type(), err, "MarshalText"})
encode.go#L532: e.error(&UnsupportedValueError{v, strconv.FormatFloat(f, 'g', -1, int(bits))})
encode.go#L577: e.error(fmt.Errorf("json: invalid number literal %q", numStr))
encode.go#L673: e.error(&UnsupportedTypeError{v.Type()})
encode.go#L743: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
encode.go#L758: e.error(fmt.Errorf("json: encoding error for type %q: %q", v.Type().String(), err.Error()))
encode.go#L826: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
encode.go#L882: e.error(&UnsupportedValueError{v, fmt.Sprintf("encountered a cycle via %s", v.Type())})
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |